#!/bin/bash

echo $'\nAverage Training Performance, Pruning, No Noise'
for i in {1..80}
do
	./dtree -p $i | grep 'Average Train' | sed -r 's/[^0-9.]//g'
done

echo $'\nAverage Testing Performance, Pruning, No Noise'
for i in {1..80}
do
	./dtree -p $i | grep 'Average Test' | sed -r 's/[^0-9.]//g'
done

echo $'\nAverage Testing Performance, Pruning, Noisy'
for i in {1..80}
do
	./dtree -n -p $i | grep 'Average Train' | sed -r 's/[^0-9.]//g'
done

echo $'\nAverage Testing Performance, Pruning, Noisy'
for i in {1..80}
do
	./dtree -n -p $i | grep 'Average Test' | sed -r 's/[^0-9.]//g'
done